Oracle Database 11g R2 : Install
2014/10/05 |
Install Oracle Database 11g R2.
|
|
[1] | Login and work with "oracle" user which you create in previous section. |
[2] |
Download Oracle Databse 11g R2 for Linux and upload on your server.
http://www.oracle.com/technology/software/products/database/index.html |
[3] | After uploading Oracle files, move to a tmp directory and run an Installer like follows. |
[oracle@db01 ~]$ cd tmp [oracle@db01 tmp]$ unzip linux.x64_11gR2_database_1of2.zip [oracle@db01 tmp]$ unzip linux.x64_11gR2_database_2of2.zip [oracle@db01 tmp]$ ./database/runInstaller
|
[4] | Oracle Installer starts like follows. First, Set your email address and password for receiving some infomation from Oracle like security issues and so on. |
[5] | On this example, Select "Install database software only". |
[6] | On this example, Select "Single Instance Database ***". |
[7] | Select your language. |
[8] | Select which edition you install. |
[9] | Specify the base directory and files for Oracle. On this example, keep default and proceed to next. |
[10] | Specify the installed directory. On this example, keep default and proceed to next. |
[11] | Specify the priviledged group. On this example, keep default and proceed to next. |
[12] | Checking settings runs automatically for requirements of installing Oracle. Generally, some packages requirements failed like follows, but it's noplobmen because most of them are higher version packages than requirements. Ignore them if the result is the same to the follows. (For only "pdksh", it's not a big ploblem if it is not installed. ) |
[13] | The summary is shown for configuration. Click "Finish" if it's OK all. |
[14] | Installation starts. |
[15] | Following screen is shown, then open a terminal and execute follwong commands with the root user. |
[root@db01 ~]# /usr/oracle/oraInventory/orainstRoot.sh Changing permissions of /usr/oracle/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /usr/oracle/oraInventory to oinstall. The execution of the script is complete. [root@db01 ~]#[root@db01 ~]# /usr/oracle/app/product/11.2.0/dbhome_1/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:ORACLE_OWNER= oracle
ORACLE_HOME= /usr/oracle/app/product/11.2.0/dbhome_1
Enter the full pathname of the local bin directory: [/usr/local/bin]: # Enter Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. Finished product-specific root actions. |
[16] | Installation completed. Click "Close" button. |
[17] | Configure some settings for Oracle user. |
[oracle@db01 ~]$
vi ~/.bash_profile # add follows to the end
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export PATH=$PATH:$ORACLE_HOME/bin source ~/.bash_profile [oracle@db01 ~]$ rm -rf tmp
|